コード例 #1
0
ファイル: Future.cs プロジェクト: BeauPrime/BeauRoutine
        public override string ToString()
        {
            string prophetName = m_Prophet.GetName();

            if (prophetName != null)
            {
                return(string.Format("[Future; State={0}; Progress={1:0}%; LinkedTo={2}]", m_State, m_Progress * 100f, prophetName));
            }
            return(string.Format("[Future; State={0}; Progress={1:0}%]", m_State, m_Progress * 100));
        }
コード例 #2
0
        public override string ToString()
        {
            string prophetName = m_Prophet.GetName();

            if (prophetName != null)
            {
                return(string.Format("[Future<{0}>; State={1}; Progress={2:0}%; LinkedTo={3}]", typeof(T).FullName, m_State, m_Progress * 100f, prophetName));
            }
            return(string.Format("[Future<{0}>; State={1}; Progress={2:0}%]", typeof(T).FullName, m_State, m_Progress * 100));
        }