Пример #1
0
 public void SetEnable(int _pos = -1, int _rot = -1, int _scale = -1)
 {
     if (_pos != -1)
     {
         this.m_Enables[0] = _pos == 1;
     }
     if (_rot != -1)
     {
         this.m_Enables[1] = _rot == 1;
     }
     if (_scale != -1)
     {
         this.m_Enables[2] = _scale == 1;
     }
     this.SetMode(GuideObjectManager.GetMode(), true);
 }
Пример #2
0
 public void SetActive(bool _active, bool _layer = true)
 {
     this.m_IsActive = _active;
     this.SetMode(GuideObjectManager.GetMode(), _layer);
 }