interop tests
This commit is contained in:
59
Source/Game/MyScriptTwo.cs
Normal file
59
Source/Game/MyScriptTwo.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using FlaxEngine;
|
||||
|
||||
namespace Game;
|
||||
|
||||
/// <summary>
|
||||
/// MyScriptTwo Script.
|
||||
/// </summary>
|
||||
public class MyScriptTwo : MyScript2
|
||||
{
|
||||
private int counter = 0;
|
||||
/// <inheritdoc/>
|
||||
public override void OnStart()
|
||||
{
|
||||
Debug.Log("C# OnStart");
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override void OnEnable()
|
||||
{
|
||||
//counter++;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override void OnDisable()
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override void OnUpdate()
|
||||
{
|
||||
}
|
||||
|
||||
public override void SimpleCall() {}
|
||||
public override void SimpleParams(int a, float b, sbyte c, double d, long e) {}
|
||||
public override void StringParamAnsi(string str) {}
|
||||
public override void StringParam(string str) {}
|
||||
public override void StringParamRef(string str) {}
|
||||
public override void StringParamRefConst(string str) {}
|
||||
public override void StringParamAsRef(ref string str) {}
|
||||
public override void ActorParam(Actor actor) {}
|
||||
public override void ComplexParam(BehaviorUpdateContext context) {}
|
||||
public override void Complex2Param(RenderContext context) {}
|
||||
public override void Complex2ParamConst(RenderContext context) {}
|
||||
public override void Complex2ParamAsRef(ref RenderContext context) {}
|
||||
public override void SimpleArrayParam(int[] arr) {}
|
||||
public override void SimpleArrayParamRef(int[] arr) {}
|
||||
public override void SimpleArrayParamRefConst(int[] arr) {}
|
||||
public override void SimpleArrayParamAsRef(ref int[] arr) {}
|
||||
public override void ActorArrayParam(Actor[] arr) {}
|
||||
public override void ActorArrayParamRef(Actor[] arr) {}
|
||||
public override void ActorArrayParamRefConst(Actor[] arr) {}
|
||||
//public override void ActorArrayParamAsRef(ref Actor[] arr) {}
|
||||
public override void ComplexArrayParam(TestStruct[] arr) {}
|
||||
public override void ComplexArrayParamRef(TestStruct[] arr) {}
|
||||
public override void ComplexArrayParamRefConst(TestStruct[] arr) {}
|
||||
public override void ComplexArrayParamAsRef(ref TestStruct[] arr) {}
|
||||
}
|
||||
Reference in New Issue
Block a user