Hello
I have a CS class on cCsClass.cs script and another class in cJsClass.js
And i would like call static function of cJsClass in cCsClass…
Exemple:
— cJsClass —
static function Init()
{
…
}
— cCsClass —
using UnityEngine;
using System.Collections;
public class cCsClass : MonoBehaviour
{
void Update()
{
cJsClass.Init(); //Work if class coded in CS by not if coded in JS
}
}
An idea ?
Thanks