Assets.Scripts.Scenes.Game.BubbleController.Show C# (CSharp) Method

Show() public method

public Show ( Vector2 position, string value, Color textColor = null, bool flyUp = true ) : void
position UnityEngine.Vector2
value string
textColor UnityEngine.Color
flyUp bool
return void
        public void Show(Vector2 position, string value, Color? textColor = null, bool flyUp = true)
        {
            InitPositioning(position, flyUp);
            InitText(value, textColor);
            startTime = Time.time;
            Count += 1;
            this.gameObject.SetActive(true);
        }