public PlayButton(EditModeUI editModeUI) : base("playButton", new Transform(new Vector2(ScreenInformations.ScreenWidth / 2, ScreenInformations.ButtonSpace + ScreenInformations.ButtonHeight / 2))) { uI = editModeUI; AddComponent(new ShaderEffectRenderer("playButton", transform, 5, "None")); isolatePos = transform.position; StartObject(); rect = new Rectangle(ScreenInformations.ScreenWidth / 2 - ScreenInformations.ButtonWidth / 2, ScreenInformations.ButtonSpace, ScreenInformations.ButtonWidth, ScreenInformations.ButtonHeight); }