private void CopyVariable(GVar newVar, GVar oldVar) { if (newVar == null || oldVar == null) { ACDebug.LogWarning("Cannot copy variable since it cannot be found!"); return; } newVar.CopyFromVariable(oldVar, oldLocation); }
protected void CopyVariable(GVar newVar, GVar oldVar) { if (newVar == null || oldVar == null) { LogWarning("Cannot copy variable since it cannot be found!"); return; } newVar.CopyFromVariable(oldVar, oldLocation); KickStarter.actionListManager.VariableChanged(); }