예제 #1
0
        public void Copy(EntityRuntimeBehaviourObject _object)
        {
            if (_object == null)
            {
                return;
            }

            base.Copy(_object);
            Enabled = true;

            UseDontDestroyOnLoad = _object.UseDontDestroyOnLoad;
            UseCoroutine         = _object.UseCoroutine;

            UseRuntimeName = _object.UseRuntimeName;
            RuntimeName    = _object.RuntimeName;

            CullingOptions = _object.CullingOptions;
        }
예제 #2
0
 public EntityRuntimeBehaviourObject(EntityRuntimeBehaviourObject _object)
 {
     Copy(_object);
 }