StaticClassがわかりません
GetClssが現在の自分のクラスを返すなら
StaticClassはなにがかえってくるのでしょうか?
Hello! GetClass is method to gather UClass info from instance, while StaticClass is static method to get the same thing without any one. So, roughly speaking GetClass - if you have instance under your hands and StaticClass if no instances exist.
返信ありがとうございます
なるほど
つまりやっていることは同じですが
使えるタイミングが違うということですね!
返信ありがとうございます
getclassは変数からクラスを取得したいときに使えますが、
staticclassは ↓ のようになって同じになる気がするのですが・・・
class a
{
}
a::staticclass = class a
a = class a