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; }
public EntityRuntimeBehaviourObject(EntityRuntimeBehaviourObject _object) { Copy(_object); }