Пример #1
0
        public FocusHUD CreateFocusHUD()
        {
            FocusHUD c = GameObject.CreateWith <FocusHUD>("Focus", "Focus", GameObject, new Vector2(0, 0), posList: Utils.CreateRecMesh(10, 2));

            return(c);
        }
Пример #2
0
 public override void Awake()
 {
     focus  = CreateFocusHUD();
     player = CreateFocusHUD();
     player.LocalPosition = new Vector2(0, 5);
 }