This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){var q=document.querySelector('#pnl > li.pnl__funds.pnl__funds--derivative._is-active._has-position > span.pnl__position');if(q){var leftOverSize=q.firstChild.textContent;leftOverSize=leftOverSize.replace(/[^0-9^\.]/g,"");var size=document.getElementsByClassName('place__size')[0];size['value']=leftOverSize;size['focus']();size['blur']()}})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "Custom/yar" { | |
| Properties { | |
| _ColorLow ("Color Low", COLOR) = (1,1,1,1) | |
| _ColorHigh ("Color High", COLOR) = (1,1,1,1) | |
| _yPosLow ("Y Pos Low", Float) = 0 | |
| _yPosHigh ("Y Pos High", Float) = 10 | |
| _GradientStrength ("Graident Strength", Float) = 1 | |
| _EmissiveStrengh ("Emissive Strengh ", Float) = 1 | |
| _ColorX ("Color X", COLOR) = (1,1,1,1) | |
| _ColorY ("Color Y", COLOR) = (1,1,1,1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void SetPositions() | |
| { | |
| Vector3 leftEdge = camera.ViewportToWorldPoint(new Vector3(0, 1, 1)); | |
| Vector3 rightEdge = camera.ViewportToWorldPoint(new Vector3(1, 1, 1)); | |
| Vector3 screenCenter = camera.ViewportToWorldPoint(new Vector3(0.5f, 0.5f, 0)); | |
| inPosition = screenCenter; | |
| startPosition = inPosition; | |
| endPosition = inPosition; |