private void Initialize(SerializedProperty property) { m_IsInitialized = true; m_ConditionsDrawer = new QuestAssetListDrawer <QuestCondition>(property.FindPropertyRelative("m_Conditions"), "Conditions", "Click on the + icon to add conditions"); m_SuccessTriggersDrawer = new QuestAssetListDrawer <QuestTrigger>(property.FindPropertyRelative("m_SuccessTriggers"), "Success Triggers", "Click on the + icon to add a trigger"); m_FailedTriggersDrawer = new QuestAssetListDrawer <QuestTrigger>(property.FindPropertyRelative("m_FailedTriggers"), "Fail Triggers", "Click on the + icon to add a trigger"); }
private void Initialize(SerializedProperty property) { m_QuestContent = new QuestAssetListDrawer <QuestContent>(property.FindPropertyRelative("m_Content"), "Quest Content", "Press the + icon to add content"); m_IsInitialized = true; }