コード例 #1
0
        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);
        }
コード例 #2
0
        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();
        }