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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| namespace Utils | |
| { | |
| public class ClearFxPrefab | |
| { | |
| #region Methods |
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
| Easing<public> := module : | |
| InSine<public>(t:float)<transacts>:float= | |
| return 1.0 - Cos(t * PiFloat / 2.0) | |
| OutSine<public>(t:float)<transacts>:float= | |
| return Sin(t * PiFloat / 2.0) | |
| InOutSine<public>(t:float)<transacts>:float= | |
| return (Cos(t * PiFloat) - 1.0) / -2.0 | |
| InQuad<public>(t:float)<transacts>:float= |
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
| PlayerUI.RemoveWidget(BufferCanvasA) | |
| PlayerUI.AddWidget(CanvasA, player_ui_slot{InputMode := ui_input_mode.None }) | |
| CanvasA.SetEnabled(false) | |
| Sleep(0.25) | |
| CanvasB.SetEnabled(true) | |
| BufferCanvasB := canvas{} | |
| BufferCanvasB.AddWidget(canvas_slot: | |
| Anchors := anchors{Minimum := vector2{X := 0.0, Y := 0.0}, Maximum := vector2{X := 1.0, Y := 1.0}} | |
| Offsets := margin{Top := 0.0, Left := 0.0, Right := 0.0, Bottom := 0.0} | |
| Alignment := vector2{X := 0.5, Y := 0.5} |
OlderNewer