Пример #1
0
        internal static void Init(Entity entity)
        {
            DEntity = entity;

            DecoratorHelper.UnlockDecorators();

            DecoratorHelper.SAFE_DECOR_REGISTER(prefix + loadedOnce, DecoratorHelper.DecoratorType.Bool);

            DecoratorHelper.LockDecorators();

            ScriptHasLoadedOnce = true;
        }