Ejemplo n.º 1
0
        public override void SetSchema(ControlSchema controlSchema)
        {
            // set things based off the schema
            transform.localPosition = controlSchema.Position;
            transform.localRotation = controlSchema.Rotation;
            _name = controlSchema.Name;

            buttonSchema = ButtonSchema.CreateFromControl(controlSchema);
        }