예제 #1
0
        public void DrawBefore(CyberAttribute cyberAttrribute)
        {
            OnlyRuntimeAttribute atr = cyberAttrribute as OnlyRuntimeAttribute;

            if (Application.isPlaying == false)
            {
                GUI.enabled = false;
            }
        }
예제 #2
0
        public bool CanDraw(CyberAttribute cyberAttrribute)
        {
            OnlyRuntimeAttribute atr = cyberAttrribute as OnlyRuntimeAttribute;

            return(atr.ActionIfNotRuntime == ActionIfNotRuntime.Disable || Application.isPlaying);
        }