Beispiel #1
0
        public bool IsScriptableObject()
        {
            if (!GameObject.IsNull)
            {
                return(false);
            }

            IScriptStructure structure = Structure;

            while (structure != null)
            {
                if (ScriptType.IsScriptableObject(structure.Namespace, structure.Name))
                {
                    return(true);
                }
                structure = structure.Base;
            }
            return(false);
        }