![]() |
|
#1
|
|||
|
|||
![]()
uhm.. not really.. I haven't really tried it, but I think you can use the cascaded inheritances of the same method.
Code:
public override void OnBattleStarted() { base.OnBattleStarted(); ... } |
#2
|
|||
|
|||
![]() Quote:
![]() I had a script error when I tried to copy a second instance of some method (onTrigger or onActorCreated) to the same script placing it below the 1st one. |
#3
|
|||
|
|||
![]()
inheritance should only work in different scripts.
base MG script Code:
public override void OnBattleStarted() { code1 } Code:
public override void OnBattleStarted() { base.OnBattleStarted(); code2 } Code:
public override void OnBattleStarted() { base.OnBattleStarted(); code3 } |
![]() |
Thread Tools | |
Display Modes | |
|
|