File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,12 +16,6 @@ public class CollectableIndirectReference
1616
1717 [ SerializeField ]
1818 protected string collectionGUID ;
19-
20- public virtual void FromCollectable ( CollectableScriptableObject collectableScriptableObject )
21- {
22- collectableGUID = collectableScriptableObject . GUID ;
23- collectionGUID = collectableScriptableObject . Collection . GUID ;
24- }
2519 }
2620
2721 [ Serializable ]
@@ -55,9 +49,10 @@ public TObject Ref
5549 }
5650 }
5751
58- public override void FromCollectable ( CollectableScriptableObject collectableScriptableObject )
52+ public void FromCollectable ( CollectableScriptableObject collectableScriptableObject )
5953 {
60- base . FromCollectable ( collectableScriptableObject ) ;
54+ collectableGUID = collectableScriptableObject . GUID ;
55+ collectionGUID = collectableScriptableObject . Collection . GUID ;
6156#if UNITY_EDITOR
6257 editorAsset = collectableScriptableObject as TObject ;
6358#endif
You can’t perform that action at this time.
0 commit comments