Beispiel #1
0
        public override ControlSchema GetSchema()
        {
            ControlSchema schema = new ControlSchema()
            {
                Name     = _name,
                Position = transform.localPosition,
                Rotation = transform.localRotation,
                Type     = GetControlType()
            };

            buttonSchema.SetControlSchema(ref schema);

            return(schema);
        }