Пример #1
0
        public override void Bind(Entity entity, Main main, bool creating = false)
        {
            entity.GetOrCreate <Transform>("Transform");
            Rotator rotator = entity.GetOrCreate <Rotator>("Rotator");

            rotator.Add(new CommandBinding(rotator.Delete, entity.Delete));
            this.SetMain(entity, main);
            rotator.EditorProperties();
        }