![]() |
|
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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
}
|
![]() |
|
|