public FocusHUD CreateFocusHUD() { FocusHUD c = GameObject.CreateWith <FocusHUD>("Focus", "Focus", GameObject, new Vector2(0, 0), posList: Utils.CreateRecMesh(10, 2)); return(c); }
public override void Awake() { focus = CreateFocusHUD(); player = CreateFocusHUD(); player.LocalPosition = new Vector2(0, 5); }